//
//  GMInputViewEmojiView.h
//  Gmall
//
//  Created by yemeihua on 15/11/25.
//  Copyright © 2015年 Gmall. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,GMInputViewEmotionType){
    GMInputViewEmotionTypeDefault = 0,
    GMInputViewEmotionType1 = 1,
    GMInputViewEmotionType2 = 2,
    GMInputViewEmotionType3 = 3,

};

@class GMInputViewEmojiView;

@protocol GMInputViewEmojiViewDelegate <NSObject>

- (void)inputViewEmjojiView:(GMInputViewEmojiView *)emojiView didSelectText:(NSString *)text type:(GMInputViewEmotionType)type title:(NSString *)title;

@end

@interface GMInputViewEmojiView : UIView<UIScrollViewDelegate>

@property (nonatomic,readonly) UIScrollView *scrollView;
@property (nonatomic,readonly) NSMutableArray *emojis;
@property (nonatomic,readonly) UIPageControl *pageControl;
@property (nonatomic,weak) id<GMInputViewEmojiViewDelegate> delegate;
@property (nonatomic,readonly) UIView *tabBarView;
@property (nonatomic) GMInputViewEmotionType type;

- (instancetype)initWithFrame:(CGRect)frame enableGIF:(BOOL)enabled;

@end
